<script>
	import {
		newapp,
		checkDataExpiration
	} from "@/common/Newapp.js"
	export default {
		onLaunch: function(option) {

			uni.removeStorageSync("ApiCpsKey")
			uni.getSystemInfo({
				success: (res) => {
					uni.setStorageSync('osName', res.osName)
				}
			})
			tt.disableUserScreenRecord()
			newapp()
			checkDataExpiration()
			
		},
		onShow: function() {},
		onHide: function() {
			uni.removeStorageSync("clickid")
		},
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";

	/*每个页面公共css */
	page,
	body {
		font-style: normal;
		font-weight: 400;
		// background: #F5F5F5;
	}
</style>